package yf.mall.vo.down;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class SaleSumDown{

    @ExcelProperty("名字")
    private String name;

    @ExcelProperty("数量")
    private Integer quantity;

    public SaleSumDown(String name, Integer quantity) {
        this.name = name;
        this.quantity = quantity;
    }

   public void add(Integer quantity){
          this.quantity+=quantity;
    }
}